home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
autoit
/
autoit-v3.2.0.1-setup.exe
/
Examples
/
Helpfile
/
_FilePrint.au3
< prev
next >
Wrap
Text File
|
2006-06-17
|
297b
|
11 lines
#include <File.au3>
$file = FileOpenDialog("Print File", "", "Text Documents (*.txt)", 1)
If @error Then Exit
$print = _FilePrint($file)
If $print Then
MsgBox(0, "Print", "The file was printed.")
Else
MsgBox(0, "Print", "Error: " & @error & @CRLF & "The file was not printed.")
EndIf